package cn.sstir.hackathon.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.Map;

/**
 * @author: fli
 * @email: fli@sstir.cn
 * @date: 2019/12/31 13:45
 */
@Configuration
@ConfigurationProperties(prefix = "country")
@PropertySource(value = "classpath:country.properties",encoding = "utf-8")
@Data
public class CountryProperties {

    private Map<String,String> map;
}
